class CreateClients < ActiveRecord::Migration
  def change
    create_table :clients do |t|
      t.string :room   , :null => false , index: { :unique => true }
      t.text   :nicks  , :null => false
      t.string :secret , :null => false
      t.string :type   , :null => false

      t.timestamps :null => false
    end
  end
end
